Fix #332604, reported by Joe Wreschnig, patch by Jan Arne Petersen and
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Jan 2007 05:58:32 +0000 (05:58 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 4 Jan 2007 05:58:32 +0000 (05:58 +0000)
commitf5ca424987a9eb38005022d6d1b2947df9981f36
tree6e5c41ab536a09af419077b1095d6e3563ae2c8c
parent5db7fbc8dc132a0db6e6860ebe981d50b97d9226
Fix #332604, reported by Joe Wreschnig, patch by Jan Arne Petersen and

2007-01-03  Matthias Clasen  <mclasen@redhat.com>

        Fix #332604, reported by Joe Wreschnig, patch
        by Jan Arne Petersen and Behdad Esfahbod.

        * gtk/gtklabel.c (gtk_label_size_allocate): Only
        set the width of the layout when necessary.
        (get_layout_location): Use pango_layout_get_pixel_extents()
        instead of pango_layout_get_width().

svn path=/trunk/; revision=17052
ChangeLog
gtk/gtklabel.c